<template>
	 <view class="">
	 	<u-navbar scrollable=false titleStyle="font-size:40rpx;color:#333;" :placeholder='true' title="企业认证"  
	 		bgColor="#f5f5f5" leftIconColor="#f5f5f5" oBack="false">
	 	</u-navbar>
		<view class="" style='display: flex;flex-direction: column;align-items: center;margin-top:200rpx'>
				<image src="/static/images/Group 33500.png" mode="" style='width: 133px;height: 92px;'></image>
				<view class="co3 fontS28" style='margin: 82rpx auto 40rpx;'>企业认证成功。</view>
				<view class="co9 fontS28">
					正在返回...
				</view>
		</view>
	 </view>
</template>
<script>
	export default {
		onLoad(){
			let pages = getCurrentPages(); // 当前页面        
			let beforePage = pages[pages.length - 3]; // 上上一页 
			console.log(beforePage)
			setTimeout(()=>{
				uni.navigateBack({
					delta:2,
					success: function() {
						if(beforePage.route=='pages/index/index'){
							beforePage.$vm.getHotList()
							beforePage.$vm.getList()
							beforePage.$vm.status=uni.getStorageSync('userInfo').company_status
							beforePage.$vm.list=[] 
						}else if(beforePage.route=='myPackageA/goodsAndFacton/goodsDetails'){
							beforePage.$vm.getInfo()
							beforePage.$vm.findProduct()
							beforePage.$vm.company_status=uni.getStorageSync('userInfo').company_status
						}
					}
				})
			},2000)
		}
	}
</script>

<style>
</style>